package com.design.duty_chain;

public class UserRegisterHandler extends AbstractHandler{

    public Integer ordinaryLevel=1;

    @Override
    protected Integer getUserLevel() {

        return ordinaryLevel;
    }

    @Override
    public String operator(String name) {
        System.out.println("普通用户注册");
        return name;
    }
}
